export default [
  {
    path: "/layout",
    name: "Layout",
    redirect: "/home",
    component: () => import("@/layout/index.vue"),
    hidden: false,
    meta: { title: "布局", parentRouter: "", icon: "" },
    children: [
      {
        path: "/home",
        name: "Home",
        component: () => import("@/views/home/index.vue"),
        hidden: false,
        meta: { title: "首页", parentRouter: "Layout", icon: "" },
      },
      {
        path: "/set",
        name: "Set",
        component: () => import("@/views/setting/index.vue"),
        hidden: false,
        meta: { title: "系统设置", parentRouter: "Layout", icon: "" },
      },
      {
        path: "/user",
        name: "User",
        component: () => import("@/views/user/index.vue"),
        hidden: false,
        meta: { title: "超级用户", parentRouter: "Layout", icon: "" },
        children: [
          {
            path: "/user/c1",
            name: "C1",
            component: () => import("@/views/user/index.vue"),
            hidden: false,
            meta: { title: "子菜单1", parentRouter: "User", icon: "" },
          },
          {
            path: "/user/c2",
            name: "C2",
            component: () => import("@/views/user/index.vue"),
            hidden: false,
            meta: { title: "子菜单2", parentRouter: "User", icon: "" },
          },
          {
            path: "/user/c3",
            name: "C3",
            component: () => import("@/views/user/index.vue"),
            hidden: false,
            meta: { title: "子菜单3", parentRouter: "User", icon: "" },
          },
        ],
      },
    ],
  },
];
